//
//  WCNConsult_1Cell.m
//  WCN
//
//  Created by wsj2015 on 15/9/10.
//  Copyright (c) 2015年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import "WCNConsult_1Cell.h"




@implementation WCNConsult_1Cell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)turnOn:(id)sender {
    if (self.switchBlock) {
        self.switchBlock([(UISwitch *)sender isOn]);
    }
    
}
-(void)isShowSwitch:(BOOL)isShow
{
    if (isShow) {
        self.MySwitch.hidden =NO;
        self.priceLabe.hidden =YES;
    }else{
        self.MySwitch.hidden =YES;
        self.priceLabe.hidden =NO;
    
    }
  
 
}
@end
